/** When your routing table is too long, you can split it into small modules**/

const Layout = () => import('@/layout/index.vue');

const playerRouter = {
  path: '/playerManage',
  component: Layout,
  name: 'playerManage',
  meta: {
    title: '陪玩管理',
    icon: 'chart'
  },
  children: [
    {
      path: 'playerList',
      component: () => import('@/views/player/playerList.vue'),
      name: 'playerList',
      meta: { title: '陪玩列表', noCache: true }
    },
    {
      path: 'classify',
      component: () => import('@/views/player/classify.vue'),
      name: 'classify',
      meta: { title: '分類管理', noCache: true }
    },
    {
      path: 'infoCheck',
      component: () => import('@/views/player/infoCheck.vue'),
      name: 'infoCheck',
      meta: { title: '資料審核', noCache: true }
    },
    {
      path: 'servicePrice',
      component: () => import('@/views/player/servicePrice.vue'),
      name: 'servicePrice',
      meta: { title: '服務價格', noCache: true }
    },
    {
      path: 'editPlayerList',
      component: () => import('@/views/player/editList.vue'),
      name: 'editPlayerList',
      meta: { title: '編輯', hidden: true }
    },
    {
      path: 'editClassify',
      component: () => import('@/views/player/editClassify.vue'),
      name: 'editClassify',
      meta: { title: '編輯', hidden: true }
    },
    {
      path: 'addClassify',
      component: () => import('@/views/player/addClassify.vue'),
      name: 'addClassify',
      meta: { title: '新增', hidden: true }
    },
    {
      path: 'editCheck',
      component: () => import('@/views/player/editCheck.vue'),
      name: 'editCheck',
      meta: { title: '編輯', hidden: true }
    }



  ]
};

export default playerRouter;
